var express = require('express');
var router = express.Router();


/* GET users listing. */
//登录
//获取usersControllers暴露的值
const { login, register, getUserInfo } = require('../controllers/usersControllers.js');
router.post('/login', login);
//注册
router.post('/register', register);
//验证登录
router.post('/getUserInfo', getUserInfo);

module.exports = router;